Make the file chooser dialog use a headerbar
when desired.
https://bugzilla.gnome.org/show_bug.cgi?id=720059
#include "gtksizerequest.h"
#include "gtktypebuiltins.h"
#include "gtkintl.h"
+#include "gtksettings.h"
+#include "gtkdialogprivate.h"
#include <stdarg.h>
dialog->priv->response_requested = FALSE;
gtk_widget_init_template (GTK_WIDGET (dialog));
+ gtk_dialog_set_use_header_bar_from_setting (GTK_DIALOG (dialog));
_gtk_file_chooser_set_delegate (GTK_FILE_CHOOSER (dialog),
GTK_FILE_CHOOSER (dialog->priv->widget));